#include <QtGui>
#include "mainwindow.hpp"
#include "define.hpp"

int main(int argc, char **argv) {
	QApplication a(argc, argv);

	QString locale = QLocale::system().name().section('_', 0, 0);
	QTranslator translator;
	translator.load(QString("qt_") + locale);
	a.installTranslator(&translator);

	MainWindow w;
	w.show();
	w.setWindowTitle(TITLE_PROGRAM);
	w.setMinimumSize(800, 512);

	return a.exec();
}
